<HTML><HEAD><TITLE>fzn_output(+FznState)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(flatzinc)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>fzn_output(+FznState)</H1>
Perform a FlatZinc model's output actions
<DL>
<DT><EM>FznState</EM></DT>
<DD>a FlatZinc state descriptor
</DD>
</DL>
<H2>Description</H2>
<P>
	Assuming that a FlatZinc model has previously been set up
	and solved, this predicate will perform the output actions
	specified in the model's output item.  If no output item
	was specified, a default output will be generated, consisting
	of the display of values of all model variables in input order.
	In addition, statistics information will be printed to the
	log_output stream.
    </P>
<H3>Modes and Determinism</H3><UL>
<LI>fzn_output(+) is det
</UL>
<H2>Examples</H2>
<PRE>
    my_fzn_run_stream(ModelStream, Options) :-
	fzn_init(Options, State),
	fzn_load_stream(ModelStream, State),
	fzn_search(State),
	fzn_output(State).
</PRE>
<H2>See Also</H2>
<A HREF="../../lib_public/flatzinc/fzn_init-2.html">fzn_init / 2</A>, <A HREF="../../lib_public/flatzinc/fzn_load_stream-2.html">fzn_load_stream / 2</A>, <A HREF="../../lib_public/flatzinc/fzn_search-1.html">fzn_search / 1</A>
</BODY></HTML>
